<include file="Public/head" />
<include file="Public/common_header" />
<div class="mian">
<include file="Public/sidebar" menu="zhgl.gyszh"  />
   <div class="mianR">
      <div class="yuyue">
         <ul>
            <li onclick="get_list(1);" >集团账号</li>
            <li onclick="get_list(2);" id="branch" class="yuCurrent">4S店账号</li>
         </ul>
          <input type="hidden" name="status" value="1" />
      </div>
      <div class="listBox" id="listBox">
         
      </div>
      <div class="clear"></div>
   </div>
</div>
<script type="text/javascript">
   get_list(2);
   function get_list(status){
       $('input[name=status]').val(status);
       $.get("/Fours/get_fours_list",{"status":status},function(data){
           $("#listBox").html(data);
           $("input").placeholder();
       },"html");
   }

   function get_page(p){
       var status = $('input[name=status]').val();
       $.get("/Fours/get_fours_list", {'p':p,"status":status}, function(data){
           $("#listBox").html(data);
           $("input").placeholder();
       },"html");
   }
    function search(){
        $.get("/Fours/get_fours_list",$("#searchFrom").serialize(),function(data){
            $("#listBox").html(data);
            $("input").placeholder();
        },"html");
    }
</script>
<include file="Public/foot" />